<template>
<uni-shadow-root class="partials-text_link-simpleTextLink"><template name="simpleTextLink">
  <view class="text_link" :style="'text-align:'+(jsonData.align)+';background-color:'+(jsonData.bgColor)" :data-link="jsonData.linkUrl" @click="tolinkUrl">
    <block v-if="jsonData.iconPath">
      <view class="text_link_imageContainer flexCenter">
        <image class="text_link_icon" mode="aspectFit" :src="jsonData.iconPath"></image>
      </view>
      <view :style="' font-size:'+(jsonData.fontSize)+'px;color:'+(jsonData.color)" class="text_link_text flexCenter ">
        {{jsonData.text}}
      </view>
    </block>
    <block v-else>
      <view :style="'font-size:'+(jsonData.fontSize)+'px;color:'+(jsonData.color)+';text-align:'+(jsonData.align)" class="text_link_text2 flexCenter " :data-link="jsonData.linkUrl" @click="tolinkUrl">
        <text>{{jsonData.text}}</text>
      </view>
    </block>
  </view>
</template></uni-shadow-root>
</template>

<script>

global['__wxRoute'] = 'partials/text_link/simpleTextLink'

Component({})

export default global['__wxComponents']['partials/text_link/simpleTextLink']
</script>
<style platform="mp-weixin">

</style>